package cn.melon.mod.store;

import org.apache.log4j.Logger;

import cn.melon.helper.BaseRequset;
import cn.melon.helper.LoggerHelper;
import cn.melon.mod.store.biz.GoodsBiz;
import cn.melon.mod.store.biz.impl.GoodsBizImpl;
import cn.melon.mod.store.entity.Goods;

public class StoreRequest extends BaseRequset{

    private String TAG = LoggerHelper.makeLogTag(StoreRequest.class);
    private Logger storeLogger = LoggerHelper.clientLogger();

    @Override
    public void makeRequset() {
//        StoreService service = new StoreServiceImpl();
//        storeLogger.info("测试StoreService");
//        service.getGoodsTable("零食饮料", 0, 1);
        Goods goods = new Goods("00009","卫龙辣条","零食饮料",2.00,"......",800,false);
        GoodsBiz goodsBiz = new GoodsBizImpl();
//        goodsBiz.addGoods(goods);
//        goodsBiz.removeGoodsById("0000");
        goodsBiz.updateGoodsInfo(goods);
    }
}
